package com.things8.iot.baseIot.service;

import com.things8.iot.baseIot.entity.SysDevicemodel;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.things8.iot.baseIot.dao.SysDevicemodelMapper;

/**
 * @author  yzh
 * @date  2021/5/2 21:24
 * @version 1.0
 */
@Service
public class SysDevicemodelService{

    @Resource
    private SysDevicemodelMapper sysDevicemodelMapper;

    
    public int deleteByPrimaryKey(Long id) {
        return sysDevicemodelMapper.deleteByPrimaryKey(id);
    }

    
    public int insert(SysDevicemodel record) {
        return sysDevicemodelMapper.insert(record);
    }

    
    public int insertSelective(SysDevicemodel record) {
        return sysDevicemodelMapper.insertSelective(record);
    }

    
    public SysDevicemodel selectByPrimaryKey(Long id) {
        return sysDevicemodelMapper.selectByPrimaryKey(id);
    }

    
    public int updateByPrimaryKeySelective(SysDevicemodel record) {
        return sysDevicemodelMapper.updateByPrimaryKeySelective(record);
    }

    
    public int updateByPrimaryKey(SysDevicemodel record) {
        return sysDevicemodelMapper.updateByPrimaryKey(record);
    }

}
